package com.along.config;

import com.along.utility.common.response.GeneralResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/*
 * @Author: liujinyi
 * @DateTime: 2025/3/11 17:15
 */
@RestController
public class App1Controller {
  private final App1Service app1Service;

  public App1Controller(App1Service app1Service) {
    this.app1Service = app1Service;
  }

  @GetMapping("/testConfig")
  public GeneralResult<App1Properties> test(){
    return GeneralResult.success(app1Service.printConfig());
  }
}
